package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZQW
 */
public class Herbaltemplate extends Model<Herbaltemplate> {

private static final long serialVersionUID=1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    @TableField("Name")
    private String Name;

    /**
     * 医生ID
     */
    @TableField("DoctorID")
    private Integer DoctorID;

    /**
     * 创建时间
     */
    @TableField("CreationTime")
    private Date CreationTime;

    /**
     * 处方类型 水煎煮/酒泡/打粉/制丸/装胶囊等
     */
    @TableField("PrescriptioType")
    private String PrescriptioType;

    /**
     * 付数
     */
    @TableField("PayNumber")
    private Integer PayNumber;

    /**
     * 用法
     */
    @TableField("DrugsUsage")
    private String DrugsUsage;

    /**
     * 治法
     */
    @TableField("Therapy")
    private String Therapy;

    /**
     * 治法详细
     */
    @TableField("Detailed")
    private String Detailed;

    /**
     * 医嘱
     */
    @TableField("Advice")
    private String Advice;

    /**
     * 使用范围 全院/科室/个人
     */
    @TableField("Scope")
    private String Scope;

    /**
     * 删除标记
     */
    @TableField("DelMark")
    private Integer DelMark;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return Name;
    }

    public void setName(String Name) {
        this.Name = Name;
    }

    public Integer getDoctorID() {
        return DoctorID;
    }

    public void setDoctorID(Integer DoctorID) {
        this.DoctorID = DoctorID;
    }

    public Date getCreationTime() {
        return CreationTime;
    }

    public void setCreationTime(Date CreationTime) {
        this.CreationTime = CreationTime;
    }

    public String getPrescriptioType() {
        return PrescriptioType;
    }

    public void setPrescriptioType(String PrescriptioType) {
        this.PrescriptioType = PrescriptioType;
    }

    public Integer getPayNumber() {
        return PayNumber;
    }

    public void setPayNumber(Integer PayNumber) {
        this.PayNumber = PayNumber;
    }

    public String getDrugsUsage() {
        return DrugsUsage;
    }

    public void setDrugsUsage(String DrugsUsage) {
        this.DrugsUsage = DrugsUsage;
    }

    public String getTherapy() {
        return Therapy;
    }

    public void setTherapy(String Therapy) {
        this.Therapy = Therapy;
    }

    public String getDetailed() {
        return Detailed;
    }

    public void setDetailed(String Detailed) {
        this.Detailed = Detailed;
    }

    public String getAdvice() {
        return Advice;
    }

    public void setAdvice(String Advice) {
        this.Advice = Advice;
    }

    public String getScope() {
        return Scope;
    }

    public void setScope(String Scope) {
        this.Scope = Scope;
    }

    public Integer getDelMark() {
        return DelMark;
    }

    public void setDelMark(Integer DelMark) {
        this.DelMark = DelMark;
    }

    public static final String ID = "ID";

    public static final String NAME = "Name";

    public static final String DOCTORID = "DoctorID";

    public static final String CREATIONTIME = "CreationTime";

    public static final String PRESCRIPTIOTYPE = "PrescriptioType";

    public static final String PAYNUMBER = "PayNumber";

    public static final String DRUGSUSAGE = "DrugsUsage";

    public static final String THERAPY = "Therapy";

    public static final String DETAILED = "Detailed";

    public static final String ADVICE = "Advice";

    public static final String SCOPE = "Scope";

    public static final String DELMARK = "DelMark";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Herbaltemplate{" +
        "id=" + id +
        ", Name=" + Name +
        ", DoctorID=" + DoctorID +
        ", CreationTime=" + CreationTime +
        ", PrescriptioType=" + PrescriptioType +
        ", PayNumber=" + PayNumber +
        ", DrugsUsage=" + DrugsUsage +
        ", Therapy=" + Therapy +
        ", Detailed=" + Detailed +
        ", Advice=" + Advice +
        ", Scope=" + Scope +
        ", DelMark=" + DelMark +
        "}";
    }
}
